package com.xuecheng.api.media;

import com.xuecheng.api.content.model.qo.QueryCourseModel;
import com.xuecheng.api.media.model.dto.MediaDTO;
import com.xuecheng.api.media.model.qo.QueryMediaModel;
import com.xuecheng.api.media.model.vo.MediaVO;
import com.xuecheng.api.media.model.vo.QueryMediaVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import com.xuecheng.common.domain.response.RestResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * <p></p>
 *
 * @Description:
 */
@Api(value = "媒资管理", tags = "媒资管理API",description = "对媒资信息进行管理")
public interface MediaApi {

    @ApiOperation("保存媒资信息")
    MediaDTO createMedia(MediaVO mediaVO);
    @ApiOperation("查询媒资信息")
    PageVO queryMediaList(PageRequestParams params, QueryMediaModel model);
    @ApiOperation("删除媒资信息")
    void deleteMedia(MediaDTO dto);
    @ApiOperation("根据Id查询媒资信息")
    @ApiImplicitParam(name = "mediaId",
            value = "媒资ID", required = true,
            dataType = "long", paramType = "path", example = "1")
    RestResponse getMediaById(Long mediaId);
}
